INCLUDE_DIRECTORIES(${LIBSDL_INCLUDE_DIR})
LINK_DIRECTORIES(${LIBSDL_LIBRARY_DIR})

ADD_LIBRARY(stuffs STATIC
    globals.cpp
    timer.cpp
    bullet.cpp
    dot.cpp
)

TARGET_LINK_LIBRARIES(stuffs SDL SDL_image SDL_ttf)

ADD_EXECUTABLE(texun main.cpp)
TARGET_LINK_LIBRARIES(texun stuffs SDL SDL_image SDL_ttf)
